extends "res://Props/scripts/CommonProp.gd"

# 力量药水1

@export var time = 30			## 持续时间

@onready var timer = $Timer

var state = null
func use(body, util):
	timer.wait_time = time
	timer.start()
	timer.connect("timeout", timeout)
	
	state = util.findOne("$[State]", body)
	state.power = value


func timeout():
	state.power = 1
